package com.qbccn.blog.service.impl;

import com.qbccn.blog.entity.BgUser;
import com.qbccn.blog.mapper.BgUserMapper;
import com.qbccn.blog.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author linke
 * @date 2019-12-22 下午 20:56
 * @description
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private BgUserMapper bgUserMapper;

    @Override
    public BgUser getByUsername(String username) {
        return bgUserMapper.get(username);
    }
}
